


<div class="title"><h5>{#ModName#}</h5></div>

<div class="widget" style="margin-top: 0px;">
    <div class="body">
		
		ужас
		
    </div>
</div>


<div class="breadCrumbHolder module">
	<div class="breadCrumb module">
	    <ul>
	        <li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li>
	        <li><a href="index.php?do=modules&amp;cp={$sess}">{#MODULES_SUB_TITLE#}</a></li>
	        <li><a href="index.php?do=modules&action=modedit&mod=shop&moduleaction=1&cp={$sess}">{#ShopStart#}</a></li> 
	        <span id="path"></span>
	    </ul>
	</div>
</div>




<div class="widget first">
	<ul class="tabs">
	    <li class="activeTab"><a href="#tab1">Стартовая</a></li>
	    <li class=""><a href="#tab2" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=settings&cp={$sess}">Настройки</a></li>
	    <li class=""><a href="#tab3" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=product_categs&cp={$sess}">Категории</a></li>
	    <li class=""><a href="#tab4" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=products&cp={$sess}">Товары</a></li>
	    <li class=""><a href="#tab5" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=showorders&cp={$sess}">Заказы</a></li>
	    <li class=""><a href="#tab6" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=paymentmethods&cp={$sess}">Оплата</a></li>
	    <li class=""><a href="#tab7" rel="">Доставка</a></li>
	    <li class=""><a href="#tab8" rel="">Статистика</a></li>
	</ul>

{*

{include file="$source/shop_topnav.tpl"}

*}


<div class="tab_container">

	<div id="tab1" class="tab_content" style="display: block;">
		<div style="float:left; margin:20px 0 20px 20px; width:47%">
			<h4>Непрочитанные сообщения</h4>
				Новые сообщения в заказах
				{if $Correspond}
						<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
						 <thead>
							<tr>
								<td>Заказ</strong></td>
								<td>Сообщение</td>
								<td>Комментарий</td>
								<td>Действие</td>
							</tr>	
						</thead>						  
							{foreach from=$Correspond item=r}
							  <tr> 
							  {assign var="num" value=$num+1}
								<td width="1%"><a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_reqest&cp={$sess}&pop=1&request_number={$r->request}','980','740','1','edit_comments');"> 
									{$r->order}</a>
								</td>
								<td>
									<small>{$r->text|truncate:75}</small>
								</td>
								<td>
									<small>{$r->Comment|stripslashes}</small>
								</td>
								<td width="1%">
									<a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_reqest&cp={$sess}&pop=1&request_number={$r->request}','980','740','1','edit_comments');"> <img src="{$tpl_dir}/images/icon_iscomment.gif" alt="" hspace="1" border="0" /></a>
									&nbsp;|&nbsp;
									<a {popup sticky=false text=$config_vars.EditOrder} href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=showorder&cp={$sess}&pop=1&Id={$r->order}','980','780','1','edit_order2');"><img src="{$tpl_dir}/images/icon_edit.gif" alt="{#DokEdit#}" hspace="1" border="0" /></a>
								</td>
								</tr>
							{/foreach}
						  </table>	
					{else}
					<ul class="messages">
						<li class="highlight yellow">Сообщений нету.</li>
					</ul>
					{/if}	
		</div>


		<div style="float:left; margin:20px 0 20px 20px; width:47%">
			<h4>Помеченные для вас заказы</h4>
			Заказы которые для вас пометил другой администратор
					{if $admin_request}
						<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
						<thead>
							<tr>
								<td>Заказ</strong></td>
								<td>Комментарий</strong></td>
								<td width="25%" nowrap>Пометил</td>
								<td width="10%" nowrap>Дата</td>
							</tr>
						</thead>
							{assign var="num" value="0"}
							{foreach from=$admin_request item=ts}
								<tr> {assign var="num" value=$num+1}
									<td width="25">{$ts->orders}</td>
									<td>
									<small><a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=admin_reqest&cp={$sess}&pop=1&orders={$ts->orders}','980','740','1','read_admin_reqest');">{$ts->text|truncate:90}</a></small>
									</td>
									<td nowrap><small>{$ts->createusername}</small></td>
									<td nowrap>{$ts->date}</td>
								</tr>
							{/foreach}
						</table>	
					{else}
					<ul class="messages">
						<li class="highlight yellow">Пометок нету.</li>
					</ul>
					{/if}		
		
		</div>
		
		
		<div class="clear"></div>


		<div style="float:left; margin:20px 0 20px 20px; width:47%">
			<h4 class="navi">{#QuickStartTopseller#}</h4>
			{#QuickStartTopSellerInf#}
						<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
						<thead>	
							<tr>
								<td>&nbsp;</td>
								<td>{#CatName#}</td>
								<td>{#ProductBought#}</td>
							</tr>
						</thead>

							{foreach from=$TopSeller item=ts}
								<tr> {assign var="num" value=$num+1}
									<td width="25"> {if $num<10}0{/if}{$num}.</td>
									<td> <a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_product&cp={$sess}&pop=1&Id={$ts->Id}','980','740','1','edit_product');">{$ts->ArtName|truncate:55}</a></td>
									<td>{$ts->Bestellungen}</td>
								</tr>
							{/foreach}
						</table><br />
						<a href="index.php?do=modules&action=modedit&mod=shop&moduleaction=1&cp={$sess}&sub=topseller">&raquo; {#QuickStartShowHundret#}</a>
		</div>


		<div style="float:left; margin:20px 0 20px 20px; width:47%">
			<h4 class="navi">{#QuickStartFlopseller#}</h4>
			{#QuickStartFlopSellerInf#}

						<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
						<thead>	
							<tr>
								<td>&nbsp;</td>
								<td><strong>{#CatName#}</strong></td>
								<td><strong>{#ProductBought#}</strong></td>
							</tr>
						</thead>	
							{assign var="num" value="0"}
							{foreach from=$FlopSeller item=ts}
								<tr> {assign var="num" value=$num+1}
									<td width="25"> {if $num<10}0{/if}{$num}.</td>
									<td> <a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_product&cp={$sess}&pop=1&Id={$ts->Id}','980','740','1','edit_product');">{$ts->ArtName|truncate:55}</a></td>
									<td>{$ts->Bestellungen}</td>
								</tr>
							{/foreach}
						</table><br />
						<a href="index.php?do=modules&action=modedit&mod=shop&moduleaction=1&cp={$sess}&sub=flopseller">&raquo; {#QuickStartShowHundret#}</a>

		</div>
		
		<div class="clear"></div>
	

	
		<div style="margin:20px 20px 20px 20px;">
				<h4 class="navi">{#QuickStartRez#}</h4>
				{#QuickStartRezInf#}10
		
					{if $Rez}
					<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
						{foreach from=$Rez item=r}
							<tr> {assign var="num" value=$num+1}
								<td>
									<a href="javascript:void(0);" onclick="cp_pop('index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_comments&cp={$sess}&pop=1&Id={$r->ArtNr}','980','740','1','edit_comments');">{$r->Artname}</a>
								</td>
							</tr>
						{/foreach}
					</table>						
					{else}
					<ul class="messages">
						<li class="highlight yellow">Рецензий нету.</li>
					</ul>
					{/if}
		</div>
	</div>
	
	
	<div id="tab2" class="tab_content" style="display: block;">
		<div class="tab_container">
			<div class="fix"></div>
		</div>		
	</div>
	<div id="tab3" class="tab_content" style="display: block;">
		<div style="padding:20px">
			<div class="widget2 widget" style="margin-top:0px">
				<ul class="tabs">
<li><a href="#tab3-1" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=product_categs&cp={$sess}">Список категорий</a></li>
<li><a href="#tab3-2" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_categ&cp={$sess}">Добавить / Редактировать категорию</a></li>
<li><a href="#tab3-3" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_template&sub=categ&cp={$sess}">Шаблон вывода меню</a></li>
<li><a href="#tab3-4" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=variant_category&cp={$sess}">Свойства категорий</a></li>
				</ul>
				<div class="tab_container">
					<div class="fix"></div>
				</div>
			</div>
		</div>
	</div>
	<div id="tab4" class="tab_content" style="display: block;">
		<div style="padding:20px">
			<div class="widget2 widget" style="margin-top:0px">
				<ul class="tabs">
<li><a href="#tab4-1" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=products&cp={$sess}">Список товаров</a></li>
<li><a href="#tab4-2" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_product&cp={$sess}">Добавить / Редактировать товар</a></li>
<li><a href="#tab4-3" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_template&sub=general&cp={$sess}">Шаблон вывода товаров</a></li>
<li><a href="#tab4-4" rel="index.php?do=modules&action=modedit&mod=shop&moduleaction=edit_template&sub=detail&cp={$sess}">Детальный шаблон товара</a></li>
				</ul>
				<div class="tab_container">
					<div class="fix"></div>
				</div>
			</div>
		</div>	
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
</div>
<div class="fix"></div>
</div>